home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
str.exe
/
REGX.H
< prev
next >
Wrap
Text File
|
1993-03-01
|
776b
|
36 lines
//
// regx.h : regular expression class interface
// Author : Roy S. Woll
//
// Copyright (c) 1992 by Roy S. Woll
// You may distribute this source freely as long as you leave all files
// in their original form, including the copyright notice as is.
//
// Version 2.01 12/10/92 Add copy constructor
// Version 2.0 12/1/92
//
#ifndef _REGX_H
#define _REGX_H
class regXimp;
class regX{
regXimp * imp;
public:
regX(void);
regX(const regX&);
regX(const char * regexp);
~regX(void);
regX& operator=(const char * regexp);
regX& operator=(const regX&);
int index(const char * searchStr, int * matchLenPtr,
int start=0, int p_caseSensitive=1) const;
int error(void) const;
};
#endif